package UtranNRMProfile;


/**
 * Generated from IDL interface "UtranCell".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public abstract class UtranCellPOA
	extends org.omg.PortableServer.Servant
	implements org.omg.CORBA.portable.InvokeHandler, UtranNRMProfile.UtranCellOperations
{
	static private final java.util.Hashtable m_opsHash = new java.util.Hashtable();
	static
	{
		m_opsHash.put ( "_get_LocalCellId", new java.lang.Integer(0));
		m_opsHash.put ( "_get_Lac", new java.lang.Integer(1));
		m_opsHash.put ( "_get_Sac", new java.lang.Integer(2));
		m_opsHash.put ( "_get_AdpchReuseFactor", new java.lang.Integer(3));
		m_opsHash.put ( "_get_UraList", new java.lang.Integer(4));
		m_opsHash.put ( "_set_FachPower", new java.lang.Integer(5));
		m_opsHash.put ( "_get_Qhcs", new java.lang.Integer(6));
		m_opsHash.put ( "_get_CellLevel", new java.lang.Integer(7));
		m_opsHash.put ( "_get_DwPchPower", new java.lang.Integer(8));
		m_opsHash.put ( "_get_DeltaQrxlevmin", new java.lang.Integer(9));
		m_opsHash.put ( "_get_OperationalState", new java.lang.Integer(10));
		m_opsHash.put ( "_get_CellParameterId", new java.lang.Integer(11));
		m_opsHash.put ( "_set_Lac", new java.lang.Integer(12));
		m_opsHash.put ( "_get_Rac", new java.lang.Integer(13));
		m_opsHash.put ( "_get_UtranCellId", new java.lang.Integer(14));
		m_opsHash.put ( "_set_DwPchPower", new java.lang.Integer(15));
		m_opsHash.put ( "_get_ObjectClass", new java.lang.Integer(16));
		m_opsHash.put ( "_get_PrimaryCcpchPower", new java.lang.Integer(17));
		m_opsHash.put ( "_set_PchPower", new java.lang.Integer(18));
		m_opsHash.put ( "_set_UserLabel", new java.lang.Integer(19));
		m_opsHash.put ( "_get_HcsPrio", new java.lang.Integer(20));
		m_opsHash.put ( "_get_CId", new java.lang.Integer(21));
		m_opsHash.put ( "_get_QrxlevMin", new java.lang.Integer(22));
		m_opsHash.put ( "_get_DpchConstantValue", new java.lang.Integer(23));
		m_opsHash.put ( "_get_PchPower", new java.lang.Integer(24));
		m_opsHash.put ( "_set_RelatedIubLink", new java.lang.Integer(25));
		m_opsHash.put ( "_get_ObjectInstance", new java.lang.Integer(26));
		m_opsHash.put ( "_set_UraList", new java.lang.Integer(27));
		m_opsHash.put ( "_get_MaximumAllowedUlTxPower", new java.lang.Integer(28));
		m_opsHash.put ( "_get_FachPower", new java.lang.Integer(29));
		m_opsHash.put ( "_get_UserLabel", new java.lang.Integer(30));
		m_opsHash.put ( "_get_MaximumTransmissionPower", new java.lang.Integer(31));
		m_opsHash.put ( "_set_Rac", new java.lang.Integer(32));
		m_opsHash.put ( "_get_CellMode", new java.lang.Integer(33));
		m_opsHash.put ( "_set_LocalCellId", new java.lang.Integer(34));
		m_opsHash.put ( "_set_MaximumTransmissionPower", new java.lang.Integer(35));
		m_opsHash.put ( "_set_Sac", new java.lang.Integer(36));
		m_opsHash.put ( "_get_SacList", new java.lang.Integer(37));
		m_opsHash.put ( "_get_RelatedIubLink", new java.lang.Integer(38));
		m_opsHash.put ( "_set_PrimaryCcpchPower", new java.lang.Integer(39));
	}
	private String[] ids = {"IDL:UtranNRMProfile/UtranCell:1.0","IDL:GenericNRMProfile/ManagedFunction:1.0","IDL:GenericNRMProfile/Top:1.0"};
	public UtranNRMProfile.UtranCell _this()
	{
		return UtranNRMProfile.UtranCellHelper.narrow(_this_object());
	}
	public UtranNRMProfile.UtranCell _this(org.omg.CORBA.ORB orb)
	{
		return UtranNRMProfile.UtranCellHelper.narrow(_this_object(orb));
	}
	public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler)
		throws org.omg.CORBA.SystemException
	{
		org.omg.CORBA.portable.OutputStream _out = null;
		// do something
		// quick lookup of operation
		java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method );
		if ( null == opsIndex )
			throw new org.omg.CORBA.BAD_OPERATION(method + " not found");
		switch ( opsIndex.intValue() )
		{
			case 0: // _get_LocalCellId
			{
			_out = handler.createReply();
			_out.write_ulong(LocalCellId());
				break;
			}
			case 1: // _get_Lac
			{
			_out = handler.createReply();
			_out.write_ulong(Lac());
				break;
			}
			case 2: // _get_Sac
			{
			_out = handler.createReply();
			_out.write_ulong(Sac());
				break;
			}
			case 3: // _get_AdpchReuseFactor
			{
			_out = handler.createReply();
			_out.write_ulong(AdpchReuseFactor());
				break;
			}
			case 4: // _get_UraList
			{
			_out = handler.createReply();
			GenericNRMSystem.ULongSetHelper.write(_out,UraList());
				break;
			}
			case 5: // _set_FachPower
			{
			_out = handler.createReply();
			FachPower(_input.read_float());
				break;
			}
			case 6: // _get_Qhcs
			{
			_out = handler.createReply();
			_out.write_ulong(Qhcs());
				break;
			}
			case 7: // _get_CellLevel
			{
			_out = handler.createReply();
			UtranNRMSystem.CellLevelTypeHelper.write(_out,CellLevel());
				break;
			}
			case 8: // _get_DwPchPower
			{
			_out = handler.createReply();
			_out.write_float(DwPchPower());
				break;
			}
			case 9: // _get_DeltaQrxlevmin
			{
			_out = handler.createReply();
			_out.write_float(DeltaQrxlevmin());
				break;
			}
			case 10: // _get_OperationalState
			{
			_out = handler.createReply();
			GenericNRMSystem.OperationalStateTypeHelper.write(_out,OperationalState());
				break;
			}
			case 11: // _get_CellParameterId
			{
			_out = handler.createReply();
			_out.write_ulong(CellParameterId());
				break;
			}
			case 12: // _set_Lac
			{
			_out = handler.createReply();
			Lac(_input.read_ulong());
				break;
			}
			case 13: // _get_Rac
			{
			_out = handler.createReply();
			_out.write_ulong(Rac());
				break;
			}
			case 14: // _get_UtranCellId
			{
			_out = handler.createReply();
			_out.write_string(UtranCellId());
				break;
			}
			case 15: // _set_DwPchPower
			{
			_out = handler.createReply();
			DwPchPower(_input.read_float());
				break;
			}
			case 16: // _get_ObjectClass
			{
			_out = handler.createReply();
			_out.write_string(ObjectClass());
				break;
			}
			case 17: // _get_PrimaryCcpchPower
			{
			_out = handler.createReply();
			_out.write_float(PrimaryCcpchPower());
				break;
			}
			case 18: // _set_PchPower
			{
			_out = handler.createReply();
			PchPower(_input.read_float());
				break;
			}
			case 19: // _set_UserLabel
			{
			_out = handler.createReply();
			UserLabel(_input.read_string());
				break;
			}
			case 20: // _get_HcsPrio
			{
			_out = handler.createReply();
			_out.write_ulong(HcsPrio());
				break;
			}
			case 21: // _get_CId
			{
			_out = handler.createReply();
			_out.write_ulong(CId());
				break;
			}
			case 22: // _get_QrxlevMin
			{
			_out = handler.createReply();
			_out.write_float(QrxlevMin());
				break;
			}
			case 23: // _get_DpchConstantValue
			{
			_out = handler.createReply();
			_out.write_float(DpchConstantValue());
				break;
			}
			case 24: // _get_PchPower
			{
			_out = handler.createReply();
			_out.write_float(PchPower());
				break;
			}
			case 25: // _set_RelatedIubLink
			{
			_out = handler.createReply();
			RelatedIubLink(_input.read_string());
				break;
			}
			case 26: // _get_ObjectInstance
			{
			_out = handler.createReply();
			_out.write_string(ObjectInstance());
				break;
			}
			case 27: // _set_UraList
			{
			_out = handler.createReply();
			UraList(GenericNRMSystem.ULongSetHelper.read(_input));
				break;
			}
			case 28: // _get_MaximumAllowedUlTxPower
			{
			_out = handler.createReply();
			_out.write_float(MaximumAllowedUlTxPower());
				break;
			}
			case 29: // _get_FachPower
			{
			_out = handler.createReply();
			_out.write_float(FachPower());
				break;
			}
			case 30: // _get_UserLabel
			{
			_out = handler.createReply();
			_out.write_string(UserLabel());
				break;
			}
			case 31: // _get_MaximumTransmissionPower
			{
			_out = handler.createReply();
			_out.write_float(MaximumTransmissionPower());
				break;
			}
			case 32: // _set_Rac
			{
			_out = handler.createReply();
			Rac(_input.read_ulong());
				break;
			}
			case 33: // _get_CellMode
			{
			_out = handler.createReply();
			UtranNRMSystem.CellModeEnumTypeHelper.write(_out,CellMode());
				break;
			}
			case 34: // _set_LocalCellId
			{
			_out = handler.createReply();
			LocalCellId(_input.read_ulong());
				break;
			}
			case 35: // _set_MaximumTransmissionPower
			{
			_out = handler.createReply();
			MaximumTransmissionPower(_input.read_float());
				break;
			}
			case 36: // _set_Sac
			{
			_out = handler.createReply();
			Sac(_input.read_ulong());
				break;
			}
			case 37: // _get_SacList
			{
			_out = handler.createReply();
			GenericNRMSystem.ULongSetHelper.write(_out,SacList());
				break;
			}
			case 38: // _get_RelatedIubLink
			{
			_out = handler.createReply();
			_out.write_string(RelatedIubLink());
				break;
			}
			case 39: // _set_PrimaryCcpchPower
			{
			_out = handler.createReply();
			PrimaryCcpchPower(_input.read_float());
				break;
			}
		}
		return _out;
	}

	public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] obj_id)
	{
		return ids;
	}
}
